package com.letoy.edu.service;

import com.letoy.edu.entity.MajorInfo;

import java.util.HashMap;

public interface MajorInfoService {

    HashMap<String, Object> insertMajorInfo(MajorInfo majorInfo);

    HashMap<String, Object> deleteMajorInfo(int majorId);

    HashMap<String, Object> updateMajorInfo(MajorInfo majorInfo);

    HashMap<String, Object> getMajorInfoByMajorId(int majorId);

    HashMap<String, Object> getAllMajorInfo();
}
